package org.example.utils;

import lombok.Data;

/**
 * @author 张在成
 */
@Data
public class Result {

     private  Integer  code;

     private  String msg;

     private  Object data;

     public Result() {
     }

     public Result(Integer code, String msg, Object data) {
          this.code = code;
          this.msg = msg;
          this.data = data;
     }

     public Result(Integer code, String msg) {
          this.code = code;
          this.msg = msg;
     }



}
